package _16;

public class Zero {
    public static void main(String[] args) {
        try {
            new Demo().div(4,0);
        }catch (Exception e){
            System.out.println("除零啦");
            System.out.println(e.toString());
        }finally {
            System.out.println("System is over!");
        }
    }
}

class Demo{
    int div(int a , int b)throws Exception{
            return a / b;
    }
}
